package com.kgc.scd.service;

import com.kgc.scd.util.RequestResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * Created On : 2022/6/20.
 * <p>
 * Author     : 98730
 * <p>
 * Description: WechatPayService
 */
@FeignClient(value = "blmall-server-jzp-8102")
public interface WechatPayService{

    @PostMapping("/unifiedOrder")
    RequestResult<Map<String, String>> wechatPayUnifiedOrder(@RequestParam("orderId") String orderId) throws Exception;

}
